package com.yiqi.lottery.entity.bo;

import com.suozhang.framework.entity.bo.BaseEntity;
import com.suozhang.framework.entity.bo.UserInfoBo;

import java.util.List;

public class CouprceBo implements BaseEntity {


    /**
     * copurce_id : 10
     * amount_fee : 16
     * share : 16
     * percentage : 0
     * subscribe : 1
     * guarantee : 1
     * declaration : 竞彩足球合买
     * desc : 恍恍惚惚哈哈哈
     * finish_time : 0
     * pre_num : 1
     * bet_type : 4
     * bet_label : 竞足
     * user_info : {"user_id":9,"username":"拒绝","avatar":"http://p950xh667.bkt.clouddn.com/FkWi4Z-db6gPErYmhOHtZpj80TKd"}
     * bet_info : {"issue_id":"20180613","bet_code":"20180613101:0-1,1-1:0|20180613102:0-1,1-1:0|20180613103:0-1,1-1:0`3c1","multiple":1,"type":11}
     * bet_plan : [{"hn":"米内罗美洲","an":"沙佩科恩斯","ot":1528905300,"dan":"0","bet_list":[{"radio":"3.05","bet":"平","type":0,"label":"胜平负"},{"radio":"3.40","bet":"平","type":1,"label":"让球胜平负"}]},{"hn":"弗鲁米嫩塞","an":"桑托斯","ot":1528905300,"dan":"0","bet_list":[{"radio":"3.10","bet":"平","type":0,"label":"胜平负"},{"radio":"3.60","bet":"平","type":1,"label":"让球胜平负"}]},{"hn":"巴拉纳","an":"克鲁塞罗","ot":1528905300,"dan":"0","bet_list":[{"radio":"2.85","bet":"平","type":0,"label":"胜平负"},{"radio":"3.25","bet":"平","type":1,"label":"让球胜平负"}]}]
     */

    private int copurce_id;
    private int amount_fee;
    private int share;
    private double percentage;
    private int subscribe;
    private int guarantee;
    private String declaration;
    private String desc;
    private int finish_time;
    private int pre_num;
    private int bet_type;
    private String bet_label;
    private UserInfoBo user_info;
    private BetInfoBean bet_info;
    private List<BetPlanBo> bet_plan;

    public int getCopurce_id() {
        return copurce_id;
    }

    public void setCopurce_id(int copurce_id) {
        this.copurce_id = copurce_id;
    }

    public int getAmount_fee() {
        return amount_fee;
    }

    public void setAmount_fee(int amount_fee) {
        this.amount_fee = amount_fee;
    }

    public int getShare() {
        return share;
    }

    public void setShare(int share) {
        this.share = share;
    }

    public double getPercentage() {
        return percentage;
    }

    public void setPercentage(double percentage) {
        this.percentage = percentage;
    }

    public int getSubscribe() {
        return subscribe;
    }

    public void setSubscribe(int subscribe) {
        this.subscribe = subscribe;
    }

    public int getGuarantee() {
        return guarantee;
    }

    public void setGuarantee(int guarantee) {
        this.guarantee = guarantee;
    }

    public String getDeclaration() {
        return declaration;
    }

    public void setDeclaration(String declaration) {
        this.declaration = declaration;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public int getFinish_time() {
        return finish_time;
    }

    public void setFinish_time(int finish_time) {
        this.finish_time = finish_time;
    }

    public int getPre_num() {
        return pre_num;
    }

    public void setPre_num(int pre_num) {
        this.pre_num = pre_num;
    }

    public int getBet_type() {
        return bet_type;
    }

    public void setBet_type(int bet_type) {
        this.bet_type = bet_type;
    }

    public String getBet_label() {
        return bet_label;
    }

    public void setBet_label(String bet_label) {
        this.bet_label = bet_label;
    }

    public UserInfoBo getUser_info() {
        return user_info;
    }

    public void setUser_info(UserInfoBo user_info) {
        this.user_info = user_info;
    }

    public BetInfoBean getBet_info() {
        return bet_info;
    }

    public void setBet_info(BetInfoBean bet_info) {
        this.bet_info = bet_info;
    }

    public List<BetPlanBo> getBet_plan() {
        return bet_plan;
    }

    public void setBet_plan(List<BetPlanBo> bet_plan) {
        this.bet_plan = bet_plan;
    }

    public static class UserInfoBean {
        /**
         * user_id : 9
         * username : 拒绝
         * avatar : http://p950xh667.bkt.clouddn.com/FkWi4Z-db6gPErYmhOHtZpj80TKd
         */

        private int user_id;
        private String username;
        private String avatar;

        public int getUser_id() {
            return user_id;
        }

        public void setUser_id(int user_id) {
            this.user_id = user_id;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }
    }

    public static class BetInfoBean implements BaseEntity{
        /**
         * issue_id : 20180613
         * bet_code : 20180613101:0-1,1-1:0|20180613102:0-1,1-1:0|20180613103:0-1,1-1:0`3c1
         * multiple : 1
         * type : 11
         */

        private String issue_id;
        private String bet_code;
        private int multiple;
        private int type;

        public String getIssue_id() {
            return issue_id;
        }

        public void setIssue_id(String issue_id) {
            this.issue_id = issue_id;
        }

        public String getBet_code() {
            return bet_code;
        }

        public void setBet_code(String bet_code) {
            this.bet_code = bet_code;
        }

        public int getMultiple() {
            return multiple;
        }

        public void setMultiple(int multiple) {
            this.multiple = multiple;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }
    }


}
